FUNCTION A : INT
    VAR_INPUT
        B : INT;
    END_VAR
    A := B;
END_FUNCTION

FUNCTION B
    A(B := 1);
END_FUNCTION

PROGRAM P
B();
END_PROGRAM